﻿using System;
using System.Collections.Generic;
using System.Linq;
namespace GitDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            //开发分支一
            List<Person> personList = new List<Person>();
            for (int i = 0; i < 20; i++)
            {
                Person person = new Person()
                {
                    ID = i,
                    Name = string.Format("YY{0}", i),
                    TelNumber = "123456",
                };
                personList.Add(person);
            }
            var rightls = personList.Skip(5).ToList();
            rightls = rightls.TakeWhile(p => p.ID < 16).ToList();
            Console.WriteLine("Hello World!");
        }
        public void GitDemo()
        {
            //开发新功能
            int i = 0;
            Console.Write(i);
        }
    }

    public class Person
    {
        public int ID
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public string TelNumber
        {
            get;
            set;
        }
    }

    public class Branch
    {
        public string ID
        {
            get;
            set;
        }
        
        public string Remark
        {
            get;
            set;
        }
    }
}
